package com.fizz.redpacket.lock;

import com.fizz.redpacket.lock.RedisLock;
/*    */ import com.fizz.redpacket.lock.RejectPolicy;
/*    */ import java.util.concurrent.TimeUnit;
/*    */ import org.springframework.data.redis.core.RedisTemplate;
public class RedisOptLock extends RedisLock {
    private RedisOptLock() {}

    public RedisOptLock(RedisTemplate<String, Object> redisTemplate, RejectPolicy rejectPolicy) {}

    public void lock() {}

    public boolean tryLock() {
        return false;
    }

    public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
        return false;
    }

    public void unlock() {}
}
